package org.spring.cloud.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value="${spring.application.name}")
//@FeignClient(value="user-server-dev")
public interface UserService {
	
	@GetMapping(value="/say",produces={"application/json; charset=UTF-8"})
	public String say();
	
	@GetMapping(value="/queryAll",produces={"application/json; charset=UTF-8"})
	public Object queryAll();
	
	@GetMapping(value="/getIp",produces={"application/json; charset=UTF-8"})
	public Object getIp();
	
}
